<?php

namespace app\common\validate;

class StoreTypeValidate extends BaseValidate
{
    /**
     * 验证规则
     */
    protected $field = [
        'store_type_name' => '门店类型名称',

    ];

    /**
     * 验证场景
     */
    protected $scene = [
        'index'  => [],
        'save'   => [
            'store_type_name'=>'chsDash',
        ],
        'update' => [
            'store_type_id'=>'integer',
            'store_type_name'=>'chsDash',
        ],
        'delete' => [
            'store_type_id'=>'integer',
        ],
        'read'   => [
            'store_type_id'=>'integer',
        ]
    ];

    /**
     * 提示消息
     */
    protected $message = [

    ];


}
